<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<title>DNS检测及数据展示</title>
</head>


<body>
     <form class="col-xs-6 col-xs-offset-3 mt20" method="post" enctype="multipart/form-data">
    {% csrf_token %}
    <div class="col-xs-12 mt10">
        <div class="text-center red">{{ errorMsg }}</div>
    </div>

    <div class="row mt5">
        <div class="col-sm-4 text-right pt8">选择样本：</div>
        <div class="col-sm-8">
            <input class="form-control" type="file" id="upload_file" name="upload_file" accept=".txt" required="required">
        </div>
    </div>

    <div class="row text-center mt15">
        <button class="btn btn-success ww100" type="submit">检测</button>
    </div>
    <div class="clearfix"></div>
    </form>
    <div class="clearfix"></div>

    <table class="table table-hover table-striped mt20">
        <tr>
        <td style="width: 10%">序号</td>
        <td style="width: 30%">输入的文本</td>
        <td style="width: 20%">黑样本比例</td>
        <td style="width: 20%">白样本比例</td>
        <td style="width: 20%">判断为黑样本的子域名</td>
        </tr>
    </table>
</body>
</html>